const specRoutes = {
  path: 'spec',
  name: 'Spec',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '商品规格'
  },
  redirect: '/goods/Spec/goods_spec',
  children: [
    {
      path: 'goods_spec',
      name: 'GoodsSpec',
      component: () => import('@/views/goods/goods-spec/goods-spec'),
      meta: { title: '商品规格', noCache: true }
    },
    {
      path: 'add_spec',
      name: 'AddSpec',
      hidden: true,
      component: () => import('@/views/goods/goods-spec/add-spec'),
      meta: { title: '新增规格', noCache: true }
    },
    {
      path: 'edit_spec',
      name: 'EditSpec',
      hidden: true,
      component: () => import('@/views/goods/goods-spec/add-spec'),
      meta: { title: '编辑规格', noCache: true }
    }
  ]
}

export default specRoutes
